import request from '@/utils/request';

export async function reqTyDiagnosisTermList(data: any, options?: any): Promise<any> {
	return request('/api/sys/diagnosisTerm/list', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqAddTyDiagnosisTerm(data: any, options?: any): Promise<any> {
	return request('/api/sys/diagnosisTerm/create', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqUpdateTyDiagnosisTerm(data: any, options?: any): Promise<any> {
	return request('/api/sys/diagnosisTerm/update', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqDeleteTyDiagnosisTerm(data: any, options?: any): Promise<any> {
	return request('/api/sys/diagnosisTerm/delete', {
		method: 'POST',
		data,
		...(options || {}),
	});
}


